package com.neatease.hys;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.neatease.hys.demo.HystrixCommandDemo;

/**
 * Hello world!
 */
@Controller
@RequestMapping("/monitor")
public class MonitorController {

    public static void main(String[] args) {
        System.out.println("Hello World!");
    }

    @RequestMapping("/start")
    public void start() {
        new HystrixCommandDemo().startDemo();
    }
}
